<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>固定定位</title>
		<style>
			body{
				height: 10000px;
				width: 5000px;
			}
			#adv{
				height: 150px;
				width: 200px;
				position: fixed; 
				right: 5px;
				bottom: 50%;
				overflow:hidden;
			}
		</style>
	</head>
	<body>
		<div>
			111111
		</div>
		<div id="adv">
			<a href="#"><img src="../11-18/img/img2.png"/></a>
		</div>
	</body>
</html>